Yay_Currency\Helpers\YayCurrencyHelper D

Total Complexity 210
Dependencies 2
Dependents 64
Total lines 703
Lines of code 570
Logical lines of code 332
Comment lines 10
Methods 52
Properties 2

Methods 52

Method Rating Maintainability Complexity Lines of code
get_apply_currency_meta_data()
A
49 14 26
round_price_by_currency()
A
48 13 28
get_currency_change_switcher()
A
48 10 30
is_reload_permitted()
A
54 10 20
list_ajax_actions_allow()
S
51 7 27
format_currency_code_position()
S
53 7 24
get_rate_fee_from_currency_not_exists_in_list()
S
56 6 17
get_formatted_total_by_convert_currency()
S
56 6 16
disable_fallback_option_in_checkout_page()
S
66 7 7
set_cookies()
S
58 6 14
format_sale_price()
S
61 6 11
format_currency_position()
S
58 5 18
get_default_apply_currency()
S
58 5 15
converted_currency()
S
58 5 15
detect_allow_hide_dropdown_currencies()
S
64 6 9
get_currency_by_currency_code()
S
63 5 10
get_order_currency_by_order_id()
S
63 5 10
checkout_in_fallback_currency()
S
63 5 10
get_id_selected_currency()
S
62 5 10
calculate_price_by_currency()
S
60 4 13
is_dis_checkout_diff_currency()
S
62 4 12
get_currency_code_by_order()
S
64 4 9
get_currency_by_ID()
S
64 4 9
format_price_currency()
S
65 4 8
filter_payment_methods_by_currency()
S
59 3 15
get_symbol_by_currency_code()
S
62 3 11
calculate_price_by_currency_html()
S
56 2 17
enable_rounding_currency()
S
76 3 3
is_current_fallback_currency()
S
70 3 6
get_symbol_by_currency()
S
66 3 8
get_apply_currency()
S
63 3 10
reverse_calculate_price_by_currency()
S
71 3 5
get_apply_currency_format_info()
S
60 2 13
get_current_and_fallback_currency()
S
70 2 6
format_currency_symbol()
S
71 2 5
get_total_by_order()
S
65 2 9
get_rate_fee_by_order()
S
64 2 10
is_wc_json_products()
S
78 2 3
format_price()
S
69 2 6
get_rate_fee()
S
65 2 8
get_cookie_name()
S
72 2 6
get_current_currency()
S
74 2 4
detect_current_currency()
S
72 2 5
get_default_apply_currency_not_exists_post_type()
S
67 2 8
set_cookie_currency_switcher()
S
68 2 7
delete_cookie()
S
69 2 6
get_woocommerce_product_price_hooks()
S
61 1 14
converted_approximately_html()
S
74 1 4
calculate_custom_price_by_currency_html()
S
71 1 5
list_wc_ajax_actions_allow()
S
75 1 4
set_cookie()
S
77 1 3
__construct()
S
98 1 1